package com.example.log_db.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 日志配置类
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "log.record")
public class LogConfig {
    
    /**
     * 是否启用日志记录，默认为true
     */
    private boolean enabled = true;
}